package com.qkl.common.publics.utils;

public class PublicSessionUtils {

    private static final ThreadLocal<CommonCryptoUtils.PublicCrypto> appThread = new ThreadLocal<>();

    public static void setPublicCrypto(CommonCryptoUtils.PublicCrypto crypto){
        appThread.set(crypto);
    }

    public static CommonCryptoUtils.PublicCrypto getPublicCrypto(){
        return appThread.get();
    }

}
